[INFO] cloning repository https://github.com/mister-hai/rust_practice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mister-hai/rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-hai%2Frust_practice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-hai%2Frust_practice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 263235030ee988ac3e8fdee11c0243bacf923ee4
[INFO] building mister-hai/rust_practice against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-hai%2Frust_practice" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mister-hai/rust_practice on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mister-hai/rust_practice
[INFO] finished tweaking git repo https://github.com/mister-hai/rust_practice
[INFO] tweaked toml for git repo https://github.com/mister-hai/rust_practice written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/mister-hai/rust_practice already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded async-compat v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 458e984c845a557676f999b822b8fb54a8f050738c8a9cfdac8da6d60847d729
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "458e984c845a557676f999b822b8fb54a8f050738c8a9cfdac8da6d60847d729", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "458e984c845a557676f999b822b8fb54a8f050738c8a9cfdac8da6d60847d729", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "458e984c845a557676f999b822b8fb54a8f050738c8a9cfdac8da6d60847d729", kill_on_drop: false }`
[INFO] [stdout] 458e984c845a557676f999b822b8fb54a8f050738c8a9cfdac8da6d60847d729
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 389636168b8859e74bb1292e962ca06c0ec2096c59fd58eda19ab50eed98eb15
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "389636168b8859e74bb1292e962ca06c0ec2096c59fd58eda19ab50eed98eb15", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.92
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling syn v1.0.68
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling once_cell v1.7.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling bytes v1.0.1
[INFO] [stderr]    Compiling futures-core v0.3.13
[INFO] [stderr]    Compiling futures-io v0.3.13
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling instant v0.1.9
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling lock_api v0.4.2
[INFO] [stderr]    Compiling tokio v1.4.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.3
[INFO] [stderr]    Compiling mio v0.7.11
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling parking_lot v0.11.1
[INFO] [stderr]    Compiling tokio-macros v1.1.0
[INFO] [stderr]    Compiling async-compat v0.2.1
[INFO] [stderr]    Compiling rust_practice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)`
[INFO] [stdout]   --> src/main.rs:99:29
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn new(&self, json_input) -> Command {
[INFO] [stdout]    |                             ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]    |
[INFO] [stdout]    = note: anonymous parameters are removed in the 2018 edition (see RFC 1685)
[INFO] [stdout] help: if this is a parameter name, give it a type
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn new(&self, json_input: TypeName) -> Command {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn new(&self, _: json_input) -> Command {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: format argument must be a string literal
[INFO] [stdout]    --> src/main.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 |         println!(self.success_message);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a string literal to format with
[INFO] [stdout]     |
[INFO] [stdout] 103 |         println!("{}", self.success_message);
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: format argument must be a string literal
[INFO] [stdout]    --> src/main.rs:105:18
[INFO] [stdout]     |
[INFO] [stdout] 105 |         println!(self.failure_message);
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a string literal to format with
[INFO] [stdout]     |
[INFO] [stdout] 105 |         println!("{}", self.failure_message);
[INFO] [stdout]     |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shutdown`
[INFO] [stdout]    --> src/main.rs:143:29
[INFO] [stdout]     |
[INFO] [stdout] 143 |             stream.shutdown(Shutdown::Both).unwrap();
[INFO] [stdout]     |                             ^^^^^^^^ use of undeclared type `Shutdown`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in module `tokio::stream`
[INFO] [stdout]    --> src/main.rs:133:49
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn handle_connection(mut stream: tokio::stream::TcpStream) {
[INFO] [stdout]     |                                                 ^^^^^^^^^ not found in `tokio::stream`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 9   | use std::net::TcpStream;
[INFO] [stdout]     |
[INFO] [stdout] 9   | use tokio::net::TcpStream;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/main.rs:152:12
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let v: Value = serde_json::from_str(data)?;
[INFO] [stdout]     |            ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 9   | use serde_json::Value;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `data` in this scope
[INFO] [stdout]    --> src/main.rs:152:41
[INFO] [stdout]     |
[INFO] [stdout] 152 |     let v: Value = serde_json::from_str(data)?;
[INFO] [stdout]     |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pass` in this scope
[INFO] [stdout]    --> src/main.rs:159:5
[INFO] [stdout]     |
[INFO] [stdout] 159 |     pass
[INFO] [stdout]     |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `char`
[INFO] [stdout]  --> src/main.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{char, collections::VecDeque};
[INFO] [stdout]   |           ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Write`, `self`
[INFO] [stdout]   --> src/main.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::io::{self, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ColorChoice`, `ColorSpec`, `Color`, `StandardStream`, `WriteColor`
[INFO] [stdout]   --> src/main.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 | use termcolor::{Color,ColorChoice,ColorSpec, 
[INFO] [stdout]    |                 ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout] 13 |                 StandardStream,WriteColor};
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `JoinHandle`, `Thread`
[INFO] [stdout]   --> src/main.rs:15:19
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::thread::{Thread,JoinHandle};
[INFO] [stdout]    |                   ^^^^^^ ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TcpSocket`, `TcpStream`
[INFO] [stdout]   --> src/main.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 | use tokio::net::{TcpStream,TcpSocket,TcpListener};
[INFO] [stdout]    |                  ^^^^^^^^^ ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IpAddr`, `Ipv4Addr`, `SocketAddr`
[INFO] [stdout]   --> src/main.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::net::{SocketAddr,IpAddr,Ipv4Addr}; 
[INFO] [stdout]    |                ^^^^^^^^^^ ^^^^^^ ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::from_utf8`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::str::from_utf8;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `command_struct` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:85:8
[INFO] [stdout]    |
[INFO] [stdout] 85 | struct command_struct{
[INFO] [stdout]    |        ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CommandStruct`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `command_set` should have an upper camel case name
[INFO] [stdout]    --> src/main.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 | struct command_set{
[INFO] [stdout]     |        ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CommandSet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `VecDeque`
[INFO] [stdout]    --> src/main.rs:111:11
[INFO] [stdout]     |
[INFO] [stdout] 111 |     set : VecDeque<>
[INFO] [stdout]     |           ^^^^^^^^ expected 1 type argument
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 1 type parameter: `T`
[INFO] [stdout] help: use angle brackets to add missing type argument
[INFO] [stdout]     |
[INFO] [stdout] 111 |     set : VecDeque<T><>
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this enum takes 2 type arguments but only 1 type argument was supplied
[INFO] [stdout]    --> src/main.rs:149:41
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn untyped_example(json_string: str) -> Result<()> {
[INFO] [stdout]     |                                         ^^^^^^ -- supplied 1 type argument
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         expected 2 type arguments
[INFO] [stdout]     |
[INFO] [stdout] note: enum defined here, with 2 type parameters: `T`, `E`
[INFO] [stdout] help: add missing type argument
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn untyped_example(json_string: str) -> Result<(), E> {
[INFO] [stdout]     |                                                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_practice`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "389636168b8859e74bb1292e962ca06c0ec2096c59fd58eda19ab50eed98eb15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "389636168b8859e74bb1292e962ca06c0ec2096c59fd58eda19ab50eed98eb15", kill_on_drop: false }`
[INFO] [stdout] 389636168b8859e74bb1292e962ca06c0ec2096c59fd58eda19ab50eed98eb15
